<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form"%>
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Insert title here</title>
</head>
<body>
<form:form modelAttribute="admin" method="post" action="${pageContext.request.contextPath }/admin/login">
    <form:input path="username"/>
    <form:input path="password"/>
    <input type="submit" value="登录"/>
</form:form>
</body>
</html>